//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03A
TN_Widget.CreateTable([['Nate Bargatze','Rio Rancho Events Center','Rio Rancho, NM','Sunday','5/5/2024','7:00 PM','6030469','Nate-Bargatze-5-5-2024'],['Duke City Gladiators vs. San Antonio Gunslingers','Rio Rancho Events Center','Rio Rancho, NM','Saturday','5/11/2024','6:05 PM','6202445','Duke-City-Gladiators-vs--San-Antonio-Gunslingers-5-11-2024'],['Gabriel Iglesias','Rio Rancho Events Center','Rio Rancho, NM','Thursday','5/16/2024','8:00 PM','6105862','Gabriel-Iglesias-5-16-2024'],['Brick Fest Live (Multiple Dates and Times)','Rio Rancho Events Center','Rio Rancho, NM','Saturday','5/25/2024','TBD','6353839','Brick-Fest-Live--Multiple-Dates-and-Times--5-25-2024'],['Brick Fest Live (Multiple Dates and Times)','Rio Rancho Events Center','Rio Rancho, NM','Sunday','5/26/2024','TBD','6353840','Brick-Fest-Live--Multiple-Dates-and-Times--5-26-2024'],['Duke City Gladiators vs. Vegas Knight Hawks','Rio Rancho Events Center','Rio Rancho, NM','Saturday','6/15/2024','6:05 PM','6202448','Duke-City-Gladiators-vs--Vegas-Knight-Hawks-6-15-2024'],['Duke City Gladiators vs. Bay Area Panthers','Rio Rancho Events Center','Rio Rancho, NM','Saturday','6/22/2024','6:05 PM','6202450','Duke-City-Gladiators-vs--Bay-Area-Panthers-6-22-2024'],['Sesame Street Live!','Rio Rancho Events Center','Rio Rancho, NM','Thursday','6/27/2024','6:00 PM','6085588','Sesame-Street-Live--6-27-2024'],['Duke City Gladiators vs. Tucson Sugar Skulls','Rio Rancho Events Center','Rio Rancho, NM','Saturday','6/29/2024','6:05 PM','6202451','Duke-City-Gladiators-vs--Tucson-Sugar-Skulls-6-29-2024'],['Duke City Gladiators vs. Frisco Fighters','Rio Rancho Events Center','Rio Rancho, NM','Sunday','7/7/2024','3:05 PM','6202452','Duke-City-Gladiators-vs--Frisco-Fighters-7-7-2024'],['A Day To Remember','Rio Rancho Events Center','Rio Rancho, NM','Tuesday','7/9/2024','6:30 PM','6329561','A-Day-To-Remember-7-9-2024'],['Duke City Gladiators vs. Northern Arizona Wranglers','Rio Rancho Events Center','Rio Rancho, NM','Sunday','7/21/2024','3:05 PM','6202453','Duke-City-Gladiators-vs--Northern-Arizona-Wranglers-7-21-2024'],['SW Jazz & Heritage Festival - Friday','Rio Rancho Events Center','Rio Rancho, NM','Friday','8/9/2024','6:00 PM','6399862','SW-Jazz---Heritage-Festival---Friday-8-9-2024'],['SW Jazz & Heritage Festival - Saturday','Rio Rancho Events Center','Rio Rancho, NM','Saturday','8/10/2024','6:00 PM','6399863','SW-Jazz---Heritage-Festival---Saturday-8-10-2024'],['SW Jazz & Heritage Festival - Sunday','Rio Rancho Events Center','Rio Rancho, NM','Sunday','8/11/2024','6:00 PM','6399864','SW-Jazz---Heritage-Festival---Sunday-8-11-2024'],['Parker McCollum','Rio Rancho Events Center','Rio Rancho, NM','Friday','8/23/2024','7:30 PM','6007929','Parker-McCollum-8-23-2024'],['Lamb Of God & Mastodon','Rio Rancho Events Center','Rio Rancho, NM','Saturday','8/24/2024','6:00 PM','6251825','Lamb-Of-God---Mastodon-8-24-2024'],['Ian Munsick','Rio Rancho Events Center','Rio Rancho, NM','Saturday','9/28/2024','6:40 PM','6373066','Ian-Munsick-9-28-2024'],['Foreigner','Rio Rancho Events Center','Rio Rancho, NM','Tuesday','10/8/2024','7:00 PM','6357702','Foreigner-10-8-2024'],['Social Distortion','Rio Rancho Events Center','Rio Rancho, NM','Tuesday','10/22/2024','8:00 PM','6149746','Social-Distortion-10-22-2024'],['MercyMe','Rio Rancho Events Center','Rio Rancho, NM','Sunday','10/27/2024','7:00 PM','6079497','MercyMe-10-27-2024'],['Air1 Worship Now: Crowder, We The Kingdom & CAIN','Rio Rancho Events Center','Rio Rancho, NM','Sunday','11/17/2024','7:00 PM','6359256','Air1-Worship-Now--Crowder--We-The-Kingdom---CAIN-11-17-2024']],'Santa Ana Star Center','http://www.ticketnetwork.com/ticket/Santa-Ana-Star-Center-events.aspx');